/**
 * Created by asher on 2017/2/10.
 */
/* Error404 */
import React from 'react';
import { connect } from 'dva';
import { IndexLink } from 'dva/router';
import { Layout } from 'antd';

import IndexHeaderLayout from '../components/layout/IndexHeaderLayout';
import IndexFooterLayout from '../components/layout/IndexFooterLayout';

const { Content } = Layout;

function Error404() {
  return (
    <Layout style={{ minWidth: '1200px' }}>
      <IndexHeaderLayout />
      <Content className="index-content">
        <br />
        <br />
        <br />
        <br />
        <h1 style={{ textAlign: 'center' }}>404</h1>
        <p style={{ textAlign: 'center' }}>您查看的页面或许在去火星的路上了，回 <IndexLink to="/">首页</IndexLink> 看看吧！</p>
      </Content>
      <IndexFooterLayout />
    </Layout>
  );
}

export default connect()(Error404);
